package a_obsolete;
import java.util.Date;

/**
 * Patient
 * Holds the information and functions specific to a patient
 *
 *
 *  Date           	Name            	Action
 *  --------------------------------------------------------------------------------------
 *  03/15/11		Bethany				Created Class
 *  
 *
 *
 */

public class Patient extends User {

	
	private String pharmacy;
	private String insurance;
	private String allergies;
	
	/**
	 * Patient Constructor
	 * @param username Patient's username
	 * @param password Patient's password
	 * @param firstName Patient's first name
	 * @param middleName Patient's middle name
	 * @param lastName Patient's last name
	 * @param phone Patient's phone number
	 * @param email Patient's e-mail address
	 * @param sexMale If the patient is male
	 * @param dob Patient's date of birth
	 * @param pharmacy Patient's pharmacy
	 * @param insurance Patient's insurance carrier
	 * @param allergies Patient's allergies
	 */
	public Patient(String username, String password, String firstName, String middleName, String lastName, String phone, String email, 
			boolean sexMale, Date dob, String pharmacy, String insurance, String allergies){
		
		super(username, password, firstName, middleName, lastName, phone, email, sexMale, dob);
		
		this.pharmacy = pharmacy;
		this.insurance = insurance;
		this.allergies = allergies;
		
	}
	
}
